package String;

public class replaceAllDemo {
    public static void main(String[] args) {
        String line = "你123了个456去你个789";
        line = line.replaceAll("[0-9]+","***");
        System.out.println(line);
    }
}
